import { getReq, postReq } from '@U/common'

// 获取个人账户默认填写资料
export const getPersonAccountDefAuth = () => getReq('/api/channel-agent/profile/info')

// 证件照OCR
export const ocr_idCardFront = (params = {}) => getReq('/api/baiduai/idcard-front', params)
export const ocr_idCardBack = (params = {}) => getReq('/api/baiduai/idcard-back', params)
// 港澳台人像面
export const ocr_gangAoTaiPassFront = (params = {}) => getReq('/api/baiduai/gang-ao-tai-exit-entry-permit-front', params)

// 营业执照OCR
export const ocr_license = (params = {}) => getReq('/api/baiduai/biz-license', params)

// 注册智客保存资料
export const saveZhiKeRegInfo = (params = {}) => postReq('/api/channel-agent/profile/save', params)

// 获取智客注册验证码
export const getRegCode = () => getReq('/api/channel-agent/profile/valid-code')
// 获取智客资料状态
export const getProfileStatus = () => getReq('/api/channel-agent/profile/status')
